package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告对象 advertising
 * 
 * @author ruoyi
 * @date 2024-10-26
 */
public class Advertising extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告编号 */
    private Long id;

    /** 广告图片 */
    @Excel(name = "广告图片")
    private String advicePic;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态 */
    @Excel(name = "状态")
    private String useStatus;

    /** 介绍 */
    @Excel(name = "介绍")
    private String message;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAdvicePic(String advicePic) 
    {
        this.advicePic = advicePic;
    }

    public String getAdvicePic() 
    {
        return advicePic;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setUseStatus(String useStatus) 
    {
        this.useStatus = useStatus;
    }

    public String getUseStatus() 
    {
        return useStatus;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("advicePic", getAdvicePic())
            .append("sort", getSort())
            .append("useStatus", getUseStatus())
            .append("message", getMessage())
            .toString();
    }
}
